function y = exden1(x)
% EX. DENSCHNN function  
%x0=[2,0,2,0,....2,0]
n=length(x); y=0;
m=n/2;
for i=1:m
    y=y+(2*(x(2*i-1)+x(2*i))^2+(x(2*i-1)-x(2*i))^2+8)^2+(5*(x(2*i-1))^2+(x(2*i)-3)^2-9)^2;
end


